package cn.le.aopAnnotationDataSource.annotation;

import java.lang.annotation.*;

/**
 * Created by admin on 2017/3/24.
 *最大长度校验
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MaxSize {
    public int max() default 20;
    public String message() default "长度过长";
}
